﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace Sprint1.Models
{
    [MetadataType(typeof(CourseMetaData))]
    public partial class Course
    {
    }
    public class CourseMetaData
    {
        [Required]
        public string Name { get; set; }
        [Required]
        public string Description { get; set; }
        [Required]
        public string Code { get; set; }
        [Required]
        public List<Instructor> Instructors { get; set; }
        public List<Student> Students { get; set; }
        public List<Question> Questions { get; set; }
    }
}